import { APIGET, APIPOST, APIPUT, APIDELETE } from '../apiToken';

/**
 * @exports apiSfctdPage 检品列表接口
 * @param param page 页数
 * @param param pageSize 条数
 * @returns 返回列表
 */
export const apiSfctdPage = (param) => APIGET('/sfctd/page', param);

/**
 * @exports apiSfcte 查检验信息
 * @param param
 * @returns
 */
export const apiSfcte = (param) => APIGET('/sfcte', param);

/**
 * @exports apiIheadAdd 新增检验
 * @param param
 * @returns
 */
export const apiIheadAdd = (param) => APIPOST('/ihead/add', param);

/**
 * @exports apiIheadAdd 检验详情列表
 * @param param
 * @returns
 */
export const apiIheadPage = (param) => APIGET('/ihead/page', param);

/**
 * @exports apiIheadAlllist 批量查看详情列表
 * @param param
 * @returns
 */
export const apiIheadAlllist = (param) => APIGET('/ihead/alllist', param);

/**
 * @exports apiIheadAlllist 批量查看详情列表
 * @param param
 * @returns
 */
export const apiPurcc = (param) => APIGET('/purcc', param);
/**
 * @exports apiQmsmgAlllist 批量查看详情列表
 * @param param
 * @returns
 */
export const apiQmsmgAlllist = (param) => APIGET('/qmsmg/alllist', param);
//检验单详情删除
export const QmsmgDel = (param) => APIGET(`/Qmsmg/del?id=${param}`);
